﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class NPCShop:NPC 
    {
        public string shop { get; set; }

        public NPCShop(string name, NPCType npctype, string shop) : base(name, npctype)
        {
            this.shop = shop;
        }
        public override void Spaek()
        {
            Console.WriteLine("{0}:你好！{1}", base.name, this.shop);
        }
    }
}
